package com.ncjzw.ms.po;

import java.util.Date;

import com.ncjzw.ms.vo.ArticleVO;

/**
 * Article entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Article implements java.io.Serializable {

	// Fields

	private Integer aid;
	private String mtype;
	private String ctype;
	private String mname;
	private String cname;
	private String title;
	private String jieshao;
	private String content;
	private Date atime;
	private String author;
	private Integer scannum;
	private String remark1;
	private String remark2;
	private String remark3;
	private String remark4;
	private String remark5;

	// Constructors

	/** default constructor */
	public Article() {
	}

	/** full constructor */
	public Article(String mtype, String ctype, String mname, String cname,
			String title, String jieshao, String content, Date atime,
			String author, Integer scannum, String remark1, String remark2,
			String remark3, String remark4, String remark5) {
		this.mtype = mtype;
		this.ctype = ctype;
		this.mname = mname;
		this.cname = cname;
		this.title = title;
		this.jieshao = jieshao;
		this.content = content;
		this.atime = atime;
		this.author = author;
		this.scannum = scannum;
		this.remark1 = remark1;
		this.remark2 = remark2;
		this.remark3 = remark3;
		this.remark4 = remark4;
		this.remark5 = remark5;
	}
	
	/** vo to po */
	public Article(ArticleVO article) {
		this.aid = article.getAid();
		this.mtype = article.getMtype();
		this.ctype = article.getCtype();
		this.mname = article.getMname();
		this.cname = article.getCname();
		this.title = article.getTitle();
		this.jieshao = article.getJieshao();
		this.content = article.getContent();
		this.atime = article.getAtime();
		this.author = article.getAuthor();
		this.scannum = article.getScannum();
		this.remark1 = article.getRemark1();
		this.remark2 = article.getRemark2();
		this.remark3 = article.getRemark3();
		this.remark4 = article.getRemark4();
		this.remark5 = article.getRemark5();
	}


	// Property accessors

	public Integer getAid() {
		return this.aid;
	}

	public void setAid(Integer aid) {
		this.aid = aid;
	}

	public String getMtype() {
		return this.mtype;
	}

	public void setMtype(String mtype) {
		this.mtype = mtype;
	}

	public String getCtype() {
		return this.ctype;
	}

	public void setCtype(String ctype) {
		this.ctype = ctype;
	}

	public String getMname() {
		return this.mname;
	}

	public void setMname(String mname) {
		this.mname = mname;
	}

	public String getCname() {
		return this.cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getJieshao() {
		return this.jieshao;
	}

	public void setJieshao(String jieshao) {
		this.jieshao = jieshao;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getAtime() {
		return this.atime;
	}

	public void setAtime(Date atime) {
		this.atime = atime;
	}

	public String getAuthor() {
		return this.author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public Integer getScannum() {
		return this.scannum;
	}

	public void setScannum(Integer scannum) {
		this.scannum = scannum;
	}

	public String getRemark1() {
		return this.remark1;
	}

	public void setRemark1(String remark1) {
		this.remark1 = remark1;
	}

	public String getRemark2() {
		return this.remark2;
	}

	public void setRemark2(String remark2) {
		this.remark2 = remark2;
	}

	public String getRemark3() {
		return this.remark3;
	}

	public void setRemark3(String remark3) {
		this.remark3 = remark3;
	}

	public String getRemark4() {
		return this.remark4;
	}

	public void setRemark4(String remark4) {
		this.remark4 = remark4;
	}

	public String getRemark5() {
		return this.remark5;
	}

	public void setRemark5(String remark5) {
		this.remark5 = remark5;
	}

}